package com.util;

/***
 * 注册测试类
 */


import com.util.JDBCUtil;

import java.sql.SQLException;

public class test {
    public static void main(String[] args) throws SQLException {
        String sql="insert into user(name,username,password,age)values(?,?,?,?)";
        int redis = JDBCUtil.redis(sql, "zs", "123341", "1234321", "20");
        if(redis==1){
            System.out.println("成功");
        }else
            System.out.println("失败");
    }
}